package extends6constructor;

public class Teacher extends People
{
    private String skill;
    public Teacher(String name,String sex, String skill)
    {
//        super(name,sex);
//        this.skill = skill;
        super(name,sex);
        this.skill = skill;
    }


    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }
}
